package com.accompany.service;

import com.accompany.entity.Wallet;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 钱包表 服务类
 * </p>
 *
 * @author DC
 * @since 2024-12-26
 */
public interface WalletService extends IService<Wallet> {

    Page<Wallet> getPaginatedWallets(Integer page, Integer size);

    List<Wallet> getAllWallets();

    Wallet getWalletById(Long id);

    void updateWallet(Wallet wallet);

    void deleteWallet(Long id);

    void createWallet(Wallet wallet);
}
